package com.lxyk.vo;

import com.lxyk.utils.StrDateUtils;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName MonthlyTest
 * @Description TODO
 * @Author FJQ
 * @Date 2022/4/21 21:23
 * @Version 1.0
 **/
@Data
public class VoClassTest {
    private String stage;     //考试阶段
    private Date testDate;    //考试日期
    private Integer number;   //班级总人数
    private Integer suspended; //休学人数
    private Integer submissions;  //提交人数
    private BigDecimal average;  //平均分
    private BigDecimal passRate;  //及格率
    private BigDecimal submissionRate;  //提交率
    private Integer totalScore = 100;       //总分

    public String getTestdate() {
        return StrDateUtils.dateToStr(testDate);
    }

}
